// 从rc-pagination复制出来修改的，需要调整下结构
.rc-pagination {
  font-size: 12px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  padding: 0;
}
.rc-pagination > li {
  outline: 0;
  list-style: none;
}
.rc-pagination-total-text {
  float: left;
  height: 28px;
  line-height: 28px;
  list-style: none;
  padding: 0;
  margin: 0 8px 0 0;
}
.rc-pagination:after {
  content: " ";
  display: block;
  height: 0;
  clear: both;
  overflow: hidden;
  visibility: hidden;
}
.rc-pagination-item {
  cursor: pointer;
  border-radius: 0;
  min-width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  list-style: none;
  float: left;
  border: 1px solid #d8d8d8;
  background-color: #fff;
  margin-right: 5px;
}
.rc-pagination-item a {
  text-decoration: none;
  color: #666;
}
.rc-pagination-item:hover {
  border-color: $primary-color;
}
.rc-pagination-item:hover a {
  color: $primary-color;
}
.rc-pagination-item-active {
  background-color: $primary-color;
  border-color: $primary-color;
}
.rc-pagination-item-active a {
  color: #fff;
}
.rc-pagination-item-active:hover a {
  color: #fff;
}
.rc-pagination-jump-prev:after,
.rc-pagination-jump-next:after {
  content: "•••";
  color: #666;
  display: block;
  letter-spacing: 2px;
  font-size: 12px;
  margin-top: 1px;
}
.rc-pagination-jump-prev:hover:after,
.rc-pagination-jump-next:hover:after {
  color: $primary-color;
}
.rc-pagination-jump-prev:hover:after {
  content: "«"
}
.rc-pagination-jump-next:hover:after {
  content: "»";
}
.rc-pagination-prev,
.rc-pagination-jump-prev,
.rc-pagination-jump-next {
  margin-right: 5px;
}
.rc-pagination-prev,
.rc-pagination-next,
.rc-pagination-jump-prev,
.rc-pagination-jump-next {
  cursor: pointer;
  font-size: 10px;
  border-radius: 0;
  list-style: none;
  min-width: 28px;
  height: 28px;
  line-height: 28px;
  float: left;
  text-align: center;
}
.rc-pagination-prev a:after {
  content: "< 上一页";
  display: block;
}
.rc-pagination-next a:after {
  content: "下一页 >";
  display: block;
}
.rc-pagination-prev,
.rc-pagination-next {
  width: 68px;
  border-radius: 0;
  border: 1px solid #d8d8d8;
  font-size: 12px;
  line-height: 30px;
  &:hover {
    color: $primary-color;
    border-color: $primary-color;
    &.rc-pagination-disabled {
      border-color: #d8d8d8;
    }
  }
}

.rc-pagination-disabled {
  cursor: not-allowed;
}
.rc-pagination-disabled a {
  color: #ccc;
}
.rc-pagination-options {
  float: left;
  margin-left: 15px;
}
.rc-pagination-options-size-changer {
  float: left;
  width: 80px;
}
.rc-pagination-options-quick-jumper {
  float: left;
  height: 28px;
  line-height: 28px;
}
.rc-pagination-options-quick-jumper input {
  margin: 0 5px;
  // box-sizing: border-box;
  background-color: #fff;
  border-radius: 0;
  border: 1px solid #d8d8d8;
  outline: 0;
  padding: 0;
  width: 28px;
  text-align: center;
  height: 28px;
}
.rc-pagination-options-quick-jumper input:hover {
  border-color: $primary-color;
}
.rc-pagination-options-quick-jumper button {
  margin-left: 5px;
}

.rc-pagination-simple .rc-pagination-prev,
.rc-pagination-simple .rc-pagination-next {
  border: none;
  height: 28px;
  line-height: 28px;
  margin: 0;
  font-size: 12px;
}
.rc-pagination-simple .rc-pagination-simple-pager {
  float: left;
  margin-right: 5px;
  list-style: none;
}
.rc-pagination-simple .rc-pagination-simple-pager .rc-pagination-slash {
  margin: 0 10px;
}
.rc-pagination-simple .rc-pagination-simple-pager input {
  margin: 0 8px;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 6px;
  border: 1px solid #d8d8d8;
  outline: none;
  padding: 5px 8px;
  min-height: 20px;
}
.rc-pagination-simple .rc-pagination-simple-pager input:hover {
  border-color: #2db7f5;
}
.rc-pagination-simple .rc-pagination-simple-pager button {
  display: inline-block;
  margin: 0 8px;
  font-weight: 500;
  text-align: center;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 0 8px;
  font-size: 12px;
  border-radius: 6px;
  height: 26px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  position: relative;
  color: rgba(0, 0, 0, 0.65);
  background-color: #fff;
  border-color: #d8d8d8;
}

.rc-pagination-simple .rc-pagination-simple-pager button:hover,
.rc-pagination-simple .rc-pagination-simple-pager button:active,
.rc-pagination-simple .rc-pagination-simple-pager button:focus {
  color: #2db7f5;
  background-color: #fff;
  border-color: #2db7f5;
}

@media only screen and (max-width: 1024px) {
  .rc-pagination-item-after-jump-prev,
  .rc-pagination-item-before-jump-next {
    display: none;
  }
}
